<?php /* Smarty version Smarty-3.1.12, created on 2013-04-25 01:03:13
         compiled from "/www/htdocs/w00fc40b/dota2league/templates/profile/heroUnit.tpl" */ ?>
<?php /*%%SmartyHeaderCode:17964633595112999e8af975-27310973%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    'fe1d77c480d01e2ec06da78500a3c5526890e24f' => 
    array (
      0 => '/www/htdocs/w00fc40b/dota2league/templates/profile/heroUnit.tpl',
      1 => 1366844591,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '17964633595112999e8af975-27310973',
  'function' => 
  array (
  ),
  'version' => 'Smarty-3.1.12',
  'unifunc' => 'content_5112999e8b1729_77437172',
  'variables' => 
  array (
    'userData' => 0,
    'ranking' => 0,
    'userCredits' => 0,
    'userStats' => 0,
    'index' => 0,
    'steamID' => 0,
  ),
  'has_nocache_code' => false,
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_5112999e8b1729_77437172')) {function content_5112999e8b1729_77437172($_smarty_tpl) {?><?php if (!is_callable('smarty_modifier_truncate')) include '/www/htdocs/w00fc40b/dota2league/Smarty/plugins/modifier.truncate.php';
?><div class="hero-unit" style="margin-top:20px">
	<div class="row-fluid">
		<div class="span2">
			<?php echo $_smarty_tpl->getSubTemplate ("profile/heroUnit.avatarTemplate.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array('avatarSrc'=>$_smarty_tpl->tpl_vars['userData']->value['AvatarFull'],'ranking'=>$_smarty_tpl->tpl_vars['ranking']->value), 0);?>

		</div>
		<div class="span7">
			<h1 class=""><span class="t" title="<?php echo $_smarty_tpl->tpl_vars['userData']->value['Name'];?>
"><?php echo smarty_modifier_truncate($_smarty_tpl->tpl_vars['userData']->value['Name'],14,"...",true);?>
</span><?php echo $_smarty_tpl->getSubTemplate ("prototypes/creditValue.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array('creditValue'=>$_smarty_tpl->tpl_vars['userCredits']->value), 0);?>
</h1>
			
			
			<div class="clearfix"></div>
			
			<p>
				<strong>WINS:</strong>&nbsp;<span class="text-success"><?php echo $_smarty_tpl->tpl_vars['userStats']->value['Wins'];?>
</span>&nbsp;
				<strong>LOSSES:</strong>&nbsp;<span class="text-error"><?php echo $_smarty_tpl->tpl_vars['userStats']->value['Loses'];?>
</span>&nbsp;
				<strong>WIN RATE:</strong>&nbsp;<span class="text-warning"><?php echo $_smarty_tpl->tpl_vars['userStats']->value['WinLoseRatio'];?>

					%</span>&nbsp;
				<strong>LEAVES:</strong>&nbsp;<span class="text-warning"><?php echo $_smarty_tpl->tpl_vars['userStats']->value['Leaves'];?>
</span>&nbsp;
				
			</p>
			<p>
				<?php if ($_smarty_tpl->tpl_vars['index']->value=="true"){?>
					<a href="profile.php">Profile</a> | 
				<?php }?>
				<a href="http://dotabuff.com/players/<?php echo $_smarty_tpl->tpl_vars['steamID']->value;?>
" target="_blank"><i
					class=" icon-tasks"></i>&nbsp;DotaBuff-Profile</a> | <a
					href="<?php echo $_smarty_tpl->tpl_vars['userData']->value['ProfileURL'];?>
" target="_blank"><i
					class="icon-user"></i>&nbsp;Steam-Profile</a>
			</p>
		</div>
		<div class="span3" align="right">
			<?php echo $_smarty_tpl->getSubTemplate ("prototypes/profileHeroUnitRankingIcon.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array('elo'=>$_smarty_tpl->tpl_vars['userStats']->value['Rank']), 0);?>

			<!-- 			<img src="img/wreaths-with-red-ribbon-small.jpg" style="width:255px; margin-top:-46px; margin-bottom:-46px"> -->

			<!-- 			<ul class="nav nav-list"> -->
			<!-- 				<li><a href="#overview"><i class="icon-chevron-right"></i> -->
			<!-- 						Overview</a></li> -->
			<!-- 				<li><a href="#transitions"><i class="icon-chevron-right"></i> -->
			<!-- 						Transitions</a></li> -->
			<!-- 				<li><a href="#modals"><i class="icon-chevron-right"></i> -->
			<!-- 						Modal</a></li> -->
			<!-- 				<li><a href="#dropdowns"><i class="icon-chevron-right"></i> -->
			<!-- 						Dropdown</a></li> -->
			<!-- 			</ul> -->
		</div>
	</div>
</div><?php }} ?>